package com.chm.fw.ui;

import android.os.Bundle;
import android.support.annotation.Nullable;

import com.bumptech.glide.Glide;
import com.chm.framwork.photoview.PhotoView;
import com.chm.fw.R;
import com.chm.fw.base.BaseActivity;

public class PhotoViewActivity extends BaseActivity {

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_photoview);
        initView();
    }

    private void initView() {
        PhotoView photoView = findViewById(R.id.a_photoView);
        Glide.with(this)
                .load(R.mipmap.pic_photo)
                .into(photoView);
    }
}
